package org.niugang.service;

import java.util.List;

import org.niugang.bean.LogQueryBean;
import org.niugang.dao.LogDao;
import org.niugang.entity.LogEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 日志业务类
 * Copyright: Copyright (c) 2018 863263957@qq.com
 * 
 * @ClassName: LogService.java
 * @version: v1.0.0
 * @author: niugang
 * @date: 2018年9月19日 上午11:47:05
 */
@Service
public class LogService implements BaseService<LogEntity, LogQueryBean> {

	@Autowired
	private LogDao logDao;

	@Override
	public List<LogEntity> getList(LogQueryBean s) {

		return logDao.getList(s);
	}

	@Override
	public List<LogEntity> getListByPage(LogQueryBean s) {
		return logDao.getListByPage(s);
	}

	@Override
	public void insert(LogQueryBean s) {
		logDao.insert(s);
	}

	@Override
	public void delete(int id) {
		logDao.delete(id);
	}

	@Override
	public LogEntity getById(int id) {
		return logDao.getById(id);
	}

	@Override
	public LogEntity get(LogQueryBean s) {
		return logDao.get(s);
	}

	@Override
	public int count(LogQueryBean s) {
		return logDao.count(s);
	}

	@Override
	public void update(LogQueryBean s) {
		logDao.update(s);
	}


}
